  <div id="portfolioBox" class="portfolioBox">
   <div id="portfolioCanvas" class="portfolioCanvas">
    <div id="portfolioHeaderBox" class="portfolioHeaderBox">
     <table>
      <tr>
       <td class="portfolioIconElement">
        <img src="<?php echo $this->baseUrl.'/public/images/portfolio_icon.png'; ?>" alt="Portfolio sosweb.pl" title="Portfolio sosweb.pl" />
       </td>
       <td class="portfolioTitleElement">
        <img src="<?php echo $this->baseUrl.'/public/images/portfolio.png'; ?>" alt="Wybrane Projekty sosweb.pl" title="Wybrane Projekty sosweb.pl" />
       </td>       
      </tr>
     </table>
    </div>
    <div id="portfolioTextBox" class="portfolioTextBox">
    <?php foreach ($this->projects as $id => $project): ?>
     <div class="portfolioItemBox">
      <table>
       <tr>
        <td class="portfolioItemSpacerCell" colspan="3">
        </td>
       </tr>      
       <tr>
        <td class="portfolioItemLeftCell">
        </td>
        <td class="portfolioItemCell">
         <table>
          <tr>
           <td class="portfolioItemHeaderCell" colspan="3">
            <a href="javascript:showDesc(<?php echo $this->escape($project->id).', \''.$this->baseUrl.$this->escape($project->image).'\''.', \''.$this->escape($project->href).'\''.', \''.$this->escape($project->tooltip).'\'' ?>);" title="Pokaż opis projektu" class="portfolioItemDescLink">           
             <?php echo $this->escape($project->name) ?>
            </a>
           </td>
          </tr>
          <tr>
           <td class="portfolioItemDescCell">
           </td>
           <td class="portfolioItemDescCellText">
            <a href="javascript:showDesc(<?php echo $this->escape($project->id).', \''.$this->baseUrl.$this->escape($project->image).'\''.', \''.$this->escape($project->href).'\''.', \''.$this->escape($project->tooltip).'\'' ?>);" title="Pokaż opis projektu">
             <img src="<?php echo $this->baseUrl.'/public/images/portfolio_item_desc.png'; ?>" alt="Pokaż więcej informacji" title="Pokaż więcej informacji" />
            </a>
           </td>           
           <td class="portfolioItemLinkCell">
            <a href="<?php echo $this->escape($project->href) ?>" title="<?php echo $this->escape($project->tooltip) ?>" class="portfolioItemLink">
             <?php echo $this->escape($project->link) ?>
            </a>
           </td>
          </tr>
         </table>
        </td>
        <td class="portfolioItemRightCell">
        </td>               
       </tr>
      </table>
     </div>
     <div id="<?php echo 'portfolioDescBox'.$this->escape($project->id) ?>" class="<?php echo ($id == 0 ? 'visible' : 'hidden') ?> portfolioDescBox">
      <table class="fullHeight">
       <tr>
        <td class="portfolioDescEdgeCell">
        </td>
        <td class="portfolioDescCell">
         <span class="bold">data wykonania: </span> <?php echo $this->escape($project->valid_from) ?><br />
         <span class="bold">technologia: </span> <?php echo $this->escape($project->technology) ?><br />
         <span class="bold">projekt graficzny: </span> <?php echo $this->escape($project->g_designer) ?><br />
         <span class="bold">skrypty: </span> <?php echo $this->escape($project->s_designer) ?><br />
         <span class="bold">layout: </span> <?php echo $this->escape($project->p_designer) ?><br />
         <span class="bold">opis: </span> <?php echo $this->escape($project->description) ?>
        </td>
        <td class="portfolioDescEdgeCell">
        </td>               
       </tr>
       <tr>
        <td class="portfolioDescDownEdgeCell" colspan="3">
        </td>
       </tr>       
      </table>
     </div>     
   	<?php endforeach; ?>
    </div>    
   </div>
  </div>